package com.boot.learning.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * 404 资源不存在 
 * 
 * @since JDK1.8
 * @author vencano
 * @date 2017年1月13日 下午8:55:31
 */
@ResponseStatus(code = HttpStatus.NOT_FOUND)
public class NotFoundException extends RuntimeException {

	private static final long serialVersionUID = 5264506503944666965L;

	public NotFoundException() {
		super();
	}

	public NotFoundException( String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace ) {
		super( message, cause, enableSuppression, writableStackTrace );
	}

	public NotFoundException( String message, Throwable cause ) {
		super( message, cause );
	}

	public NotFoundException( String message ) {
		super( message );
	}

	public NotFoundException( Throwable cause ) {
		super( cause );
	}
}
